#ifndef _FAC_TOOL_H_
#define _FAC_TOOL_H_


#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */

#include <time.h>

typedef enum {
	FAC_FRAME_P = 0,
	FAC_FRAME_I,
}ENUM_FRAMETYPE;

void FacTool_Init();

void FacTool_SendVideo(void *m_buff,unsigned int Size,time_t time, ENUM_FRAMETYPE Frame_Type);

void FacTool_SendAudio(unsigned char *m_buffer,unsigned int Length);

int FacTool_CallbackAudio(unsigned char **pbuffer);


#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */



#endif //_FAC_TOOL_H_
